package com.jack006.eureka.controller;

import com.jack006.api.controller.user.HelloControllerApi;
import com.jack006.grace.result.GraceJSONResult;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Classname HelloController
 * @Description 接口实现类
 * @Date 2021-06-10 08:15
 * @Created by jack
 */
@RestController
public class HelloController implements HelloControllerApi {

    final static Logger logger = LoggerFactory.getLogger(HelloController.class);


    @GetMapping("/hello")
    public Object hello(){
        return GraceJSONResult.ok("hello jack to files");
    }

}
